<%@ Page Language="C#" MasterPageFile="~/AppMaster.master" Title="Section 2 -- Page 1" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="mainCopy">
    <div class="container">
        <h1>
            Tellus et ligula</h1>
        <p class="teaser">
            Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer nonummy lacus
            vitae ligula.
        </p>
        <p>
            Fusce vitae augue. Ut varius, pede vel porta hendrerit, sapien odio tempor tellus,
            at feugiat urna tellus et ligula. Vestibulum ante ipsum primis in faucibus orci
            luctus et ultrices posuere cubilia Curae; Fusce fringilla imperdiet arcu. Etiam
            elementum pulvinar eros. Nulla facilisi. Pellentesque quis diam nec diam facilisis
            pulvinar. Aliquam erat nisi, vulputate ut, tincidunt luctus, adipiscing at, odio.</p>
        <asp:SqlDataSource ID="booksDS" runat="server" ConnectionString="<%$ ConnectionStrings:pubsConnectionString1 %>"
            ProviderName="<%$ ConnectionStrings:pubsConnectionString1.ProviderName %>" SelectCommand="SELECT TOP 8 [title], [price], [notes] FROM [titles] ORDER BY [pubdate]" />
        <asp:GridView EnableViewState="false" ID="gvBooks" SkinID="booksSkin" runat="server"
            DataSourceID="booksDS" EmptyDataText="There are no data records to display."
            AutoGenerateColumns="false" summary="A sample list of publications">
            <Columns>
                <asp:BoundField DataField="title" SortExpression="title" HeaderText="Title" />
                <asp:BoundField DataField="notes" SortExpression="notes" HeaderText="Description" />
                <asp:BoundField DataField="price" SortExpression="price" DataFormatString="{0:C2}"
                    HeaderText="Price" HtmlEncode="false" ItemStyle-Width="50px" />
            </Columns>
        </asp:GridView>
        <p>
            Fusce vitae augue. Ut varius, pede vel porta hendrerit, sapien odio tempor tellus,
            at feugiat urna tellus et ligula. Vestibulum ante ipsum primis in faucibus orci
            luctus et ultrices posuere cubilia Curae; Fusce fringilla imperdiet arcu. Etiam
            elementum pulvinar eros. Nulla facilisi. Pellentesque quis diam nec diam facilisis
            pulvinar. Aliquam erat nisi, vulputate ut, tincidunt luctus, adipiscing at, odio.</p>
    </div>
</asp:Content>
